package cn.model;

public class TSystemModel {
    private int sysid;
    private String sysname;
    private String navurl;
    private String chinesename;
    private String accesslevel;
    private int deepth;
    private int parentid;
    private int displayorder;
    private String imageurl;
    private String value;
    private String systemname;
    private String isdelete;

    public int getSysid() {
        return sysid;
    }

    public void setSysid(int sysid) {
        this.sysid = sysid;
    }

    public String getSysname() {
        return sysname;
    }

    public void setSysname(String sysname) {
        this.sysname = sysname;
    }

    public String getNavurl() {
        return navurl;
    }

    public void setNavurl(String navurl) {
        this.navurl = navurl;
    }

    public String getChinesename() {
        return chinesename;
    }

    public void setChinesename(String chinesename) {
        this.chinesename = chinesename;
    }

    public String getAccesslevel() {
        return accesslevel;
    }

    public void setAccesslevel(String accesslevel) {
        this.accesslevel = accesslevel;
    }

    public int getDeepth() {
        return deepth;
    }

    public void setDeepth(int deepth) {
        this.deepth = deepth;
    }

    public int getParentid() {
        return parentid;
    }

    public void setParentid(int parentid) {
        this.parentid = parentid;
    }

    public int getDisplayorder() {
        return displayorder;
    }

    public void setDisplayorder(int displayorder) {
        this.displayorder = displayorder;
    }

    public String getImageurl() {
        return imageurl;
    }

    public void setImageurl(String imageurl) {
        this.imageurl = imageurl;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getSystemname() {
        return systemname;
    }

    public void setSystemname(String systemname) {
        this.systemname = systemname;
    }

    public String getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(String isdelete) {
        this.isdelete = isdelete;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        TSystemModel that = (TSystemModel) o;

        if (sysid != that.sysid) return false;
        if (deepth != that.deepth) return false;
        if (parentid != that.parentid) return false;
        if (displayorder != that.displayorder) return false;
        if (sysname != null ? !sysname.equals(that.sysname) : that.sysname != null) return false;
        if (navurl != null ? !navurl.equals(that.navurl) : that.navurl != null) return false;
        if (chinesename != null ? !chinesename.equals(that.chinesename) : that.chinesename != null) return false;
        if (accesslevel != null ? !accesslevel.equals(that.accesslevel) : that.accesslevel != null) return false;
        if (imageurl != null ? !imageurl.equals(that.imageurl) : that.imageurl != null) return false;
        if (value != null ? !value.equals(that.value) : that.value != null) return false;
        if (systemname != null ? !systemname.equals(that.systemname) : that.systemname != null) return false;
        if (isdelete != null ? !isdelete.equals(that.isdelete) : that.isdelete != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = sysid;
        result = 31 * result + (sysname != null ? sysname.hashCode() : 0);
        result = 31 * result + (navurl != null ? navurl.hashCode() : 0);
        result = 31 * result + (chinesename != null ? chinesename.hashCode() : 0);
        result = 31 * result + (accesslevel != null ? accesslevel.hashCode() : 0);
        result = 31 * result + deepth;
        result = 31 * result + parentid;
        result = 31 * result + displayorder;
        result = 31 * result + (imageurl != null ? imageurl.hashCode() : 0);
        result = 31 * result + (value != null ? value.hashCode() : 0);
        result = 31 * result + (systemname != null ? systemname.hashCode() : 0);
        result = 31 * result + (isdelete != null ? isdelete.hashCode() : 0);
        return result;
    }
}
